<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: G-API Graph Compilation Arguments</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> |
<a href="#nested-classes">Classes</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">G-API Graph Compilation Arguments<div class="ingroups"><a class="el" href="../../d7/d0d/group__gapi.html">G-API framework</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<p>Compilation arguments: data structures controlling the compilation process.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:d4/d1c/namespacecv_1_1gapi"><td align="right" class="memItemLeft" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d1c/namespacecv_1_1gapi.html">cv::gapi</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d39/structcv_1_1gapi_1_1plaidml_1_1config.html">cv::gapi::plaidml::config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">This structure represents the basic parameters for the experimental PlaidML backend.  <a href="../../de/d39/structcv_1_1gapi_1_1plaidml_1_1config.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dfc/structcv_1_1GCompileArg.html">cv::GCompileArg</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Represents an arbitrary compilation argument.  <a href="../../d4/dfc/structcv_1_1GCompileArg.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d17/structcv_1_1GFluidOutputRois.html">cv::GFluidOutputRois</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">This structure allows to control the output image region which Fluid backend will produce in the graph.  <a href="../../d9/d17/structcv_1_1GFluidOutputRois.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d47/structcv_1_1GFluidParallelFor.html">cv::GFluidParallelFor</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">This structure allows to customize the way how Fluid executes parallel regions.  <a href="../../d8/d47/structcv_1_1GFluidParallelFor.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d0b/structcv_1_1GFluidParallelOutputRois.html">cv::GFluidParallelOutputRois</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">This structure forces Fluid backend to generate multiple parallel output regions in the graph. These regions execute in parallel.  <a href="../../d6/d0b/structcv_1_1GFluidParallelOutputRois.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/db6/classcv_1_1gapi_1_1GKernelPackage.html">cv::gapi::GKernelPackage</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A container class for heterogeneous kernel implementation collections and graph transformations.  <a href="../../de/db6/classcv_1_1gapi_1_1GKernelPackage.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/dc4/structcv_1_1gapi_1_1GNetPackage.html">cv::gapi::GNetPackage</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A container class for network configurations. Similar to GKernelPackage.Use <a class="el" href="../../d4/d1c/namespacecv_1_1gapi.html#a7d2b842e9369c0d72b383e61b9038581">cv::gapi::networks()</a> to construct this object.  <a href="../../de/dc4/structcv_1_1gapi_1_1GNetPackage.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d2e/structcv_1_1graph__dump__path.html">cv::graph_dump_path</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Ask G-API to dump compiled graph in Graphviz format under the given file name.  <a href="../../d9/d2e/structcv_1_1graph__dump__path.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d25/structcv_1_1gapi_1_1use__only.html">cv::gapi::use_only</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">cv::use_only() is a special combinator which hints G-API to use only kernels specified in <a class="el" href="../../d9/dfe/classcv_1_1GComputation.html#ab11bcc0578f9aa5ec8f8eaf6cda0dfa8" title="Compile the computation for specific input format(s). ">cv::GComputation::compile()</a> (and not to extend kernels available by default with that package).  <a href="../../d6/d25/structcv_1_1gapi_1_1use__only.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gaa4f8db4f55770e56cca42c38dacf8ffd"><td align="right" class="memItemLeft" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d29/group__gapi__compile__args.html#gaa4f8db4f55770e56cca42c38dacf8ffd">cv::GCompileArgs</a> = std::vector&lt; <a class="el" href="../../d4/dfc/structcv_1_1GCompileArg.html">GCompileArg</a> &gt;</td></tr>
<tr class="separator:gaa4f8db4f55770e56cca42c38dacf8ffd"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga3ccf2a52953f18bb3e4c01243cc4e679"><td class="memTemplParams" colspan="2">template&lt;typename... Ts&gt; </td></tr>
<tr class="memitem:ga3ccf2a52953f18bb3e4c01243cc4e679"><td align="right" class="memTemplItemLeft" valign="top"><a class="el" href="../../d9/d29/group__gapi__compile__args.html#gaa4f8db4f55770e56cca42c38dacf8ffd">GCompileArgs</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d9/d29/group__gapi__compile__args.html#ga3ccf2a52953f18bb3e4c01243cc4e679">cv::compile_args</a> (Ts &amp;&amp;... args)</td></tr>
<tr class="memdesc:ga3ccf2a52953f18bb3e4c01243cc4e679"><td class="mdescLeft"> </td><td class="mdescRight">Wraps a list of arguments (a parameter pack) into a vector of compilation arguments (<a class="el" href="../../d4/dfc/structcv_1_1GCompileArg.html" title="Represents an arbitrary compilation argument. ">cv::GCompileArg</a>).  <a href="../../d9/d29/group__gapi__compile__args.html#ga3ccf2a52953f18bb3e4c01243cc4e679">More...</a><br/></td></tr>
<tr class="separator:ga3ccf2a52953f18bb3e4c01243cc4e679"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga18c46d5801429bb63848fc6e2391cb20"><td class="memTemplParams" colspan="2">template&lt;typename... KK&gt; </td></tr>
<tr class="memitem:ga18c46d5801429bb63848fc6e2391cb20"><td align="right" class="memTemplItemLeft" valign="top"><a class="el" href="../../de/db6/classcv_1_1gapi_1_1GKernelPackage.html">GKernelPackage</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d9/d29/group__gapi__compile__args.html#ga18c46d5801429bb63848fc6e2391cb20">cv::gapi::kernels</a> ()</td></tr>
<tr class="memdesc:ga18c46d5801429bb63848fc6e2391cb20"><td class="mdescLeft"> </td><td class="mdescRight">Create a kernel package object containing kernels and transformations specified in variadic template argument.  <a href="../../d9/d29/group__gapi__compile__args.html#ga18c46d5801429bb63848fc6e2391cb20">More...</a><br/></td></tr>
<tr class="separator:ga18c46d5801429bb63848fc6e2391cb20"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga63123eaad9024722885f5c7b425dad84"><td class="memTemplParams" colspan="2">template&lt;typename... FF&gt; </td></tr>
<tr class="memitem:ga63123eaad9024722885f5c7b425dad84"><td align="right" class="memTemplItemLeft" valign="top"><a class="el" href="../../de/db6/classcv_1_1gapi_1_1GKernelPackage.html">GKernelPackage</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d9/d29/group__gapi__compile__args.html#ga63123eaad9024722885f5c7b425dad84">cv::gapi::kernels</a> (FF &amp;... functors)</td></tr>
<tr class="separator:ga63123eaad9024722885f5c7b425dad84"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Compilation arguments: data structures controlling the compilation process. </p>
<p>G-API comes with a number of graph compilation options which can be passed to <a class="el" href="../../d9/dfe/classcv_1_1GComputation.html#aa25bc73f7cba9bb2f9992edaa248f868" title="Compile graph on-the-fly and immediately execute it on the inputs data vectors. ">cv::GComputation::apply()</a> or <a class="el" href="../../d9/dfe/classcv_1_1GComputation.html#ab11bcc0578f9aa5ec8f8eaf6cda0dfa8" title="Compile the computation for specific input format(s). ">cv::GComputation::compile()</a>. Known compilation options are listed in this page, while extra backends may introduce their own compilation options (G-API transparently accepts <em>everything</em> which can be passed to <a class="el" href="../../d9/d29/group__gapi__compile__args.html#ga3ccf2a52953f18bb3e4c01243cc4e679" title="Wraps a list of arguments (a parameter pack) into a vector of compilation arguments (cv::GCompileArg)...">cv::compile_args()</a>, it depends on underlying backends if an option would be interpreted or not).</p>
<p>For example, if an example computation is executed like this:</p>
<div class="fragment"><div class="line">    <a class="code" href="../../d9/dfe/classcv_1_1GComputation.html">cv::GComputation</a> sobelEdge(<a class="code" href="../../d2/d75/namespacecv.html#a8e40d34081b18c79ba4c3cfb9fd0634f">cv::GIn</a>(in), <a class="code" href="../../d2/d75/namespacecv.html#adaa9a308669926cecc4793c6e4449629">cv::GOut</a>(out));</div><div class="line">    sobelEdge.apply(input, output);</div></div><!-- fragment --><p> Extra parameter specifying which kernels to compile with can be passed like this:</p>
<div class="fragment"><div class="line">    <a class="code" href="../../de/db6/classcv_1_1gapi_1_1GKernelPackage.html">cv::gapi::GKernelPackage</a> <a class="code" href="../../d9/d29/group__gapi__compile__args.html#ga18c46d5801429bb63848fc6e2391cb20">kernels</a> = <a class="code" href="../../d4/d1c/namespacecv_1_1gapi.html#ab3c55a390c722279ced6f56523fa01a7">cv::gapi::combine</a></div><div class="line">        (<a class="code" href="../../d9/d29/group__gapi__compile__args.html#ga18c46d5801429bb63848fc6e2391cb20">cv::gapi::core::fluid::kernels</a>(),</div><div class="line">         <a class="code" href="../../d9/d29/group__gapi__compile__args.html#ga18c46d5801429bb63848fc6e2391cb20">cv::gapi::imgproc::fluid::kernels</a>());</div><div class="line">    sobelEdge.apply(input, output, <a class="code" href="../../d9/d29/group__gapi__compile__args.html#ga3ccf2a52953f18bb3e4c01243cc4e679">cv::compile_args</a>(kernels));</div></div><!-- fragment --><h2 class="groupheader">Typedef Documentation</h2>
<a id="gaa4f8db4f55770e56cca42c38dacf8ffd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa4f8db4f55770e56cca42c38dacf8ffd">◆ </a></span>GCompileArgs</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d9/d29/group__gapi__compile__args.html#gaa4f8db4f55770e56cca42c38dacf8ffd">cv::GCompileArgs</a> = typedef std::vector&lt;<a class="el" href="../../d4/dfc/structcv_1_1GCompileArg.html">GCompileArg</a>&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d2/ded/gcommon_8hpp.html">opencv2/gapi/gcommon.hpp</a>&gt;</code></p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga3ccf2a52953f18bb3e4c01243cc4e679"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3ccf2a52953f18bb3e4c01243cc4e679">◆ </a></span>compile_args()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d9/d29/group__gapi__compile__args.html#gaa4f8db4f55770e56cca42c38dacf8ffd">GCompileArgs</a> cv::compile_args </td>
          <td>(</td>
          <td class="paramtype">Ts &amp;&amp;... </td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.compile_args(</td><td class="paramname">pkg</td><td>)</td></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.compile_args(</td><td class="paramname">kernels, nets</td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d2/ded/gcommon_8hpp.html">opencv2/gapi/gcommon.hpp</a>&gt;</code></p>
<p>Wraps a list of arguments (a parameter pack) into a vector of compilation arguments (<a class="el" href="../../d4/dfc/structcv_1_1GCompileArg.html" title="Represents an arbitrary compilation argument. ">cv::GCompileArg</a>). </p>
</div>
</div>
<a id="ga18c46d5801429bb63848fc6e2391cb20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga18c46d5801429bb63848fc6e2391cb20">◆ </a></span>kernels() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... KK&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/db6/classcv_1_1gapi_1_1GKernelPackage.html">GKernelPackage</a> cv::gapi::kernels </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.gapi.core.ocl.kernels(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../de/d7f/gkernel_8hpp.html">opencv2/gapi/gkernel.hpp</a>&gt;</code></p>
<p>Create a kernel package object containing kernels and transformations specified in variadic template argument. </p>
<p>In G-API, kernel implementations and transformations are <em>types</em>. Every backend has its own kernel API (like <a class="el" href="../../da/d73/gcpukernel_8hpp.html#aacef2b3c16c285adbd70a03ae8aedc46">GAPI_OCV_KERNEL()</a> and <a class="el" href="../../d3/d53/gfluidkernel_8hpp.html#a131f70dba8efe8af7f0fc7761d91f055">GAPI_FLUID_KERNEL()</a>) but all of that APIs define a new type for each kernel implementation.</p>
<p>Use this function to pass kernel implementations (defined in either way) and transformations to the system. Example:</p>
<div class="fragment"><div class="line">    <a class="code" href="../../de/db6/classcv_1_1gapi_1_1GKernelPackage.html">cv::gapi::GKernelPackage</a> pkg = <a class="code" href="../../d9/d29/group__gapi__compile__args.html#ga18c46d5801429bb63848fc6e2391cb20">cv::gapi::kernels</a></div><div class="line">        &lt; CustomAdd</div><div class="line">        , CustomFilter2D</div><div class="line">        , CustomRGB2YUV</div><div class="line">        &gt;();</div></div><!-- fragment --><p> Note that <a class="el" href="../../d9/d29/group__gapi__compile__args.html#ga18c46d5801429bb63848fc6e2391cb20" title="Create a kernel package object containing kernels and transformations specified in variadic template ...">kernels()</a> itself is a function returning object, not a type, so having <code>()</code> at the end is important – it must be a function call. </p>
</div>
</div>
<a id="ga63123eaad9024722885f5c7b425dad84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga63123eaad9024722885f5c7b425dad84">◆ </a></span>kernels() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... FF&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/db6/classcv_1_1gapi_1_1GKernelPackage.html">GKernelPackage</a> cv::gapi::kernels </td>
          <td>(</td>
          <td class="paramtype">FF &amp;... </td>
          <td class="paramname"><em>functors</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../de/d7f/gkernel_8hpp.html">opencv2/gapi/gkernel.hpp</a>&gt;</code></p>
</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:41 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
